pull: Allow additional HTTP headers for summary fetch
authorDan Nicholson <nicholson@endlessm.com>
Mon, 8 May 2017 14:46:35 +0000 (09:46 -0500)
committerAtomic Bot <atomic-devel@projectatomic.io>
Mon, 8 May 2017 16:50:45 +0000 (16:50 +0000)
commit4e13361c8e471822613cfad65e5b39f8ec6b91b7
treef566462b45293c4f9719fd523f4516948ebd77d3
parent37b8dae2c41e93b5865ded08f5066b50b6575476
pull: Allow additional HTTP headers for summary fetch

Read the http-headers (a(ss)) option in
ostree_repo_remote_fetch_summary_with_options like
ostree_repo_pull_with_options and add the headers to the fetcher. This
allows things like providing additional authorization headers to the
HTTP requests.

Closes: #839
Approved by: cgwalters
src/libostree/ostree-repo-pull.c